
package com.cmc.dao;

import java.util.List;

import com.cmc.dao.Dao;
import com.cmc.model.TimeZone;

public interface TimeZoneDao extends Dao {

    /**
     * Retrieves all of the timeZones
     */
    public List getTimeZones(TimeZone timeZone);

    /**
     * Gets timeZone's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the timeZone's id
     * @return timeZone populated timeZone object
     */
    public TimeZone getTimeZone(final Long id);

    /**
     * Saves a timeZone's information
     * @param timeZone the object to be saved
     */    
    public void saveTimeZone(TimeZone timeZone);

    /**
     * Removes a timeZone from the database by id
     * @param id the timeZone's id
     */
    public void removeTimeZone(final Long id);
}

